#include <stdio.h>
int max(int x,int y)
{   if(x > y)
        return x;
    else
        return y;
}
int main()
{   int a[6] = {3,2,1,4,9,0};
    for(int i = 0; i < 6;  i++)
    {   printf("%d ",a[i]);
    }
    int m = a[0];
    for(int i = 1; i < 6; i ++)
    {   m = max(m,a[i]);
    }
    printf("\nThe max one is: %d\n",m);
    for(int i = 0; i < 6;  i++)
    {   printf("%d ",a[i]);
    }
}

